home *** CD-ROM | disk | FTP | other *** search
- Path: asterix.urc.tue.nl!buex95a
- From: buex95a@asterix.urc.tue.nl (Marcel van Kervinck)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Sorting a list
- Date: 6 Apr 1996 16:53:47 GMT
- Organization: Eindhoven University of Technology, The Netherlands
- Message-ID: <4k67ir$g62@tuegate.tue.nl>
- References: <272.6650T63T1340@sn.no> <314F9F68.48E2@sapiens.com> <19960321.7D0ECE0.76B4@mojaveg.ridgecrest.ca.us> <dFiiy*6ig@yaps.rhein.de>
- NNTP-Posting-Host: asterix.urc.tue.nl
- X-Newsreader: TIN [version 1.2 PL2]
-
- Arno Eigenwillig (arno@yaps.rhein.de) wrote:
-
- : However, the question is, wheter this is an algorithm: If the sequence
- : of the cards (or in generic terms, the sequence of the randomly permu-
- : tated elements) is generated truly random each time, bogo-sort is not
- : guaranteed to terminate in finite time (which is a requirement for an
- : algorithm).
-
- On the contrary! The algorithm must terminate in finite time, otherwise
- the random generator is not random. Infinitely failing to generate
- the required order of entries is a statiscal impossibility if the
- random is truly random.
-
- Marcel
- -- _ _
- _| |_|_|
- |_ |_ Marcel van Kervinck
- |_| buex95a@urc.tue.nl
-